package gps.monitor.gpstraceanalyse.configuration;

import gps.monitor.gpstraceanalyse.service.TraceDataRecieveService;
import gps.monitor.gpstraceanalyse.starter.GpsTraceAnalyseStarter;
import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * @author cyq
 * @date 2021/11/3
 * @desc talk is cheep,show me the code
 */
public class TraceAnalyserImportSelector implements ImportSelector {

    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {

        String[] importsClassNames = new String[]{
                GpsTraceAnalyseStarter.class.getName(),
                TraceDataRecieveService.class.getName()
        };
        return importsClassNames;
    }
}
